package com.xy.tool.jwt;

/**
 * Created by zsp on 2018/8/29.
 */
class JwtBase {

    // 租户ID的KEY
    protected static final String TENANT_ID_KEY = "tid";

    // 用户ID的KEY
    protected static final String USER_ID_KEY = "uid";

    // 用户NAME的KEY
    protected static final String USER_NAME_KEY = "unm";

    // 部门组织ID的KEY
    protected static final String ORG_ID_KEY = "oid";

    // 部门组织NAME的KEY
    protected static final String ORG_NAME_KEY = "onm";

    // 部门组织Abbr的KEY
    protected static final String ORG_ABBR_KEY = "oar";

    // 验证推迟时间（毫秒）
    protected static final long JWT_DELAY_MILLIS = 0L;

    // 过期时间（毫秒）: 24 * 6 * 60 * 60 * 1000
    protected static final long JWT_EXPIRED_MILLIS = 518400000L;

}
